<div class='fui-page fui-page-current member-log-page'>
    <div class='fui-content' >
		<div class="fui-tab fui-tab-success">
			<a ng-class="{'active':pagedata.params.status==0}" class="external {{pagedata.params.status==0?'active':''}}" href="javascript:;" ng-click="pagedata.params.status=0;tool.get_list('jy_yuejie/jie_log/list/status=0',true)">未支付</a>
			<a ng-class="{'active':pagedata.params.status==1}" class="external {{pagedata.params.status==1?'active':''}}" href="javascript:;" ng-click="pagedata.params.status=1;tool.get_list('jy_yuejie/jie_log/list/status=1',true)">已支付</a>
			<a ng-class="{'active':pagedata.params.status==2}" class="external {{pagedata.params.status==2?'active':''}}" href="javascript:;" ng-click="pagedata.params.status=2;tool.get_list('jy_yuejie/jie_log/list/status=2',true)">已失效</a>
		</div>
        <div class='content-empty' ng-show="!pagedata.list || pagedata.list.length<=0">
            <i class='fa fa-comment-o'></i><br/>暂时没有任何记录!
        </div>
        <div class='fui-list-group container' ng-show="pagedata.list.length>0" >
			<div class="fui-list goods-item" ng-repeat="item in pagedata.list">
				<div class="fui-list-inner">
					<div class='title'>
						<span ng-show="item.status!=0" class="label label-success">{{item.statustitle}}</span>
						<span ng-show="item.status==0" class="label label-danger">{{item.statustitle}}</span>
						<span class="red" style="margin-left:0.3rem">{{item.money}}</span>
						<span class="gray" style="font-size:0.6rem;"> 元</span>
					</div>
					<div class='gray'>{{item.createtime}}</div>
				</div>
				<div class='fui-list-angle'>
					<span class='fui-label fui-label-default gray' style="background:#f2f2f2;border-radius:0.2rem;">{{item.remark}}</span>
					<div ng-show="item.status == 0" class="btn btn-sm btn-danger-o order-finish" ng-click="pay_submit({},'jy_yuejie/jie_log/pay/id='+item.id,'/mfee_log/','jy_yuejie/jie_log/')">支付订单</div>
				</div>
			</div>
		</div>
    </div>
</div>
<div ng-include="sys_html('_footer')"></div>
<script>
scope.tool.get_list('jy_yuejie/jie_log/list/',true);
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list('jy_yuejie/jie_log/list/');
}
</script>